from django.urls import path
from . import views
urlpatterns = [
    path("index/", views.index,name='index'),
    path('login/',views.login_user,name='login'),
    path('logout/',views.logout_user,name='logout'),
    path('register/',views.register_view,name='register'),
    path('welcome/',views.welcome,name='welcome'),
    path('success/',views.success,name='succes'),
    path('redirectest/',views.redtest,name='redirectesr'),
    path('welcome/joingame/',views.joingame,name='joingame'),
    path('welcome/bookgame/',views.bookgame,name='bookgame'),
    path('welcome/signgame/',views.signgame,name='signgame'),
    path('welcome/losegame/',views.losegame,name='losegame'),
    path('welcome/infogame/',views.infogame,name='infogame'),
    path('welcome/news/001/',views.news001,name='news001'),
    path('welcome/news/002/', views.news002,name='news002'),
    path('welcome/news/003/', views.news003,name='news003'),
    path('welcome/news/004/', views.news004,name='news004'),
    path('members/', views.member_list, name='member_list'),
    path('add-member/', views.add_member, name='add_member'),
    path('profile/',views.profile,name='profile'),
    path('update-profile/', views.profile_update, name='update_profile'),
    path('functiongroup/',views.functiongroup,name='group'),
    path('yy/',views.yy,name='yy'),
    path('yy_update/',views.yy_update,name='yy_update'),
    path('delete/request/', views.losegame, name='user_delete_request'),
    path('delete/confirm/', views.UserDeleteConfirmView.as_view(), name='user_delete_confirm'),
    path('delete/<int:pk>/', views.MemberDeleteView.as_view(), name='member_delete'),

]
